Repository navigation
Glossary: Chinese term pages and the Arabic hub label themselves in their language - #1159
Open
LukasWallrich wants to merge 7 commits into
Open
LukasWallrich wants to merge 7 commits into
LukasWallrich wants to merge 7 commits into
Conversation
…heir language Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
👍 All image files/references (if any) are in webp format, in line with our policy. |
Contributor
✅ Spell Check PassedNo spelling issues found when checking 6 changed file(s)! 🎉 |
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 5 files
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
…heir language Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he page's language Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 3 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
…number Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rebrand-doors already labels the Chinese, German and Turkish pagers, so its section_pager.html is kept; the hub keeps this PR's labels with the base's shorter English 'About' wording. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
👍 All content rules passed (WebP images/references and canonical |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Visitors to the Chinese glossary no longer meet English labels on each term page. The breadcrumb now reads 首页 / 术语表, the language links 其他语言版本: 阿拉伯语 英语 德语 土耳其语, and the pager 上一条 / 下一条. The Arabic term pages already had all of these. The Arabic glossary hub now has the heading المسرد and the breadcrumb الرئيسية / المسرد. Before, both were English ("Glossary", "Home"), and in a right-to-left line they read backwards as "Glossary / Home". The hubs' search count ("12 of 260 terms") is now in each glossary's language too, and the Chinese hub's "Last updated on …" line reads 最后更新: 2026-11-03.
layouts/glossary/single.html: the Chinese dictionary gains the labels the Arabic one already had.layouts/partials/section_pager.html: Chinese Previous/Next, beside the Arabic ones.layouts/glossary/list.html: the Arabic hub's name and every hub's count format. The Arabic_index.mdis titled "Glossary" and ships frommainin the data artifact (as the template's existing comment on the lede explains), so the name is set in the template.layouts/partials/doors/crumbs.html: an optionalhomelabel for the first crumb. Every other page is unchanged.assets/js/doors/site.js: the count reads its format from the page.layouts/glossary/single.html, through data attributes on the filter (layouts/partials/doors/glossary_terms.html).At 390 px, a Chinese term page: breadcrumb and language links
Before:

After:

At 1440 px
Before:

After:

The Chinese pager, 390 px
Before:

After:

The Chinese pager, 1440 px
Before:

After:

The filter beside a Chinese term, searching "RIOT", 1440 px (on phones the same list sits in a "Find another term" disclosure)
Before:

After:

The Arabic hub's heading, 390 px
Before:

After:

The Arabic hub's heading, 1440 px
Before:

After:

Both glossary reviewers in the hillclimb round raised these (DESIGN.md §10).
Decisions to review
content/glossary/arabic/_index.mdonmain, because the data artifact ships that file frommain.lang="en"on Arabic and Chinese pages. References can be in any language, so a blanket attribute could be wrong.Checks
python3 scripts/check_seo_html.py <build>: passed.python3 -m unittest discover -s scripts/tests: 145 tests passed.python3 scripts/rebrand/compare_builds.pyagainst a build ofrebrand-doors: OK (no SEO tag changes).🤖 Generated with Claude Code
Summary by cubic
Chinese glossary term pages replace English breadcrumbs, language links, pager labels, and filter messages with Chinese; the Chinese hub’s last-updated label is localized too. The Arabic hub now uses Arabic for its heading and breadcrumb, and hub search counts use each hub’s language. Term filters are localized in all five languages, with Arabic plural forms selected by count. The Arabic hub’s browser title is unchanged.
Written for commit 8aba530. Summary will update on new commits.